//
//  Define.h
//  BossSystem
//
//  Created by hzyd-wlj on 14-6-23.
//  Copyright (c) 2014年 hzyd-wlj. All rights reserved.
//

#ifndef BossSystem_Define_h
#define BossSystem_Define_h

// device verson float value
#define CURRENT_SYS_VERSION [[[UIDevice currentDevice] systemVersion] floatValue]
#define AppBounds [[UIScreen mainScreen] bounds]
#define AppFrame [[UIScreen mainScreen] applicationFrame]

#define iPhone5 ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(640, 1136), [[UIScreen mainScreen] currentMode].size) : NO)

#ifdef DEBUG
#define DLog(fmt, ...) NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__);
#else
#define DLog(...)
#endif

#define BossSystemShowAlertViewWithTitle(title) [[[UIAlertView alloc] initWithTitle:title message:@"" delegate:nil cancelButtonTitle:@"知道了" otherButtonTitles:nil] show];



#endif
